# FROM golang:1.16
# FROM alpine:3.14.0
FROM registry.cn-hangzhou.aliyuncs.com/fuxiao/alpine:3.14.0
RUN echo "http://mirrors.aliyun.com/alpine/v3.14/main" > /etc/apk/repositories
RUN echo "http://mirrors.aliyun.com/alpine/v3.14/community" >> /etc/apk/repositories
RUN apk add --no-cache tzdata
ENV TZ=Asia/Shanghai

WORKDIR /
COPY webhook /
CMD ["./webhook"]